// directives.js
import { formatNumberToCurrency } from "@/utils/formatUtils";

export const ThousandSeparator = {
  mounted(el, binding) {
    el.innerText = formatNumberToCurrency(binding.value);
  },
  updated(el, binding) {
    el.innerText = formatNumberToCurrency(binding.value);
  },
};
